> .block {
  color: @color-white;
  .rel;
  & + .block {
    margin-top: 20px;
  }
  > .title {
    padding: 5px;
    padding-right: 20px;
    padding-left: 15px;
    border-bottom: 1px solid fade(@color-white, 30%);
    .text-shadow();
    white-space: nowrap;
    .rel;
    margin-bottom: 10px;
    .nosel;
    &:before {
      content: "";
      display: block;
      .abs;
      top: 50%;
      left: 0;
      transform: translateY(-50%);
      width: 4px;
      height: 10px;
      background-color: @theme;
      border: 1px solid fade(@color-white, 30%);
    }
  }
  > .wrap {
    padding: 10px;
    font-size: 14px;
    overflow: auto;
    color: @color-white;
  }

  > .buttons {
    .abs;
    display: flex;
    right: 15px;
    top: 0;
    .button {
      height: 30px;
      line-height: 24px;
      padding: 3px 10px;
      border-radius: 5px;
      white-space: nowrap;
      background-color: #0077ff;
      opacity: 0.8;
      cursor: pointer;
      &:hover {
        opacity: 1;
      }
      margin-right: 5px;
      font-size: 14px;
    }

  }

  &.fullBlock {
    > .wrap {
      .fullSize(0, 40px);
    }
  }
  &.treeBlock {
    > .wrap {
      padding: 0;
    }
  }
  &.listBlock {
    &.float {
      .fl;
    }
    > .wrap {
      padding: 0;
      padding-right: 5px;
      .listItem {
        .rel;
        background-color: fade(@theme, 10%);
        margin: 5px 0;
        height: 60px;
        //opacity: 0.8;
        border-radius: 5px;
        border: 1px solid fade(@color-white, 30%);
        .icon {
          .abs;
          right: 10px;
          top: 10px;
          width: 20px;
          height: 20px;
        }
        .title {
          .abs;
          left: 10px;
          top: 10px;
          right: 35px;
          font-size: 14px;
          height: 14px;
          line-height: 14px;
          color: @color-white;
          opacity: 1;
        }
        .subtitle {
          .abs;
          left: 10px;
          bottom: 10px;
          font-size: 12px;
          color: @color-white;
          opacity: 0.5;
          height: 12px;
          line-height: 12px;
        }
        &:hover {
          opacity: 1;
          background-color: fade(@theme, 80%);
        }
        &.active {
          opacity: 1;
          .title {
            color: @themeGreen;
          }
        }
      }
    }
    &.equipmentBlock {
      > .wrap {
        display: flex;
        flex-wrap: wrap;
        padding-right: 0;
        .equipmentListItem {
          .fl;
          .rel;
          .animation();
          cursor: pointer;
          margin: 2px;
          border-radius: 5px;
          background-color: fade(@theme, 10);
          border: 1px solid fade(@color-white, 30);
          width: 115px;
          height: 76px;
          .icon {
            .abs;
            right: 10px;
            top: 10px;
            width: 20px;
            height: 20px;
            //opacity: 0.5;
          }
          .title {
            .abs;
            left: 10px;
            top: 12px;
            font-size: 14px;
            height: 14px;
            line-height: 14px;
            color: @color-white;
          }
          .count {
            .abs;
            left: 10px;
            bottom: 7px;
            font-size: 24px;
            font-family: Arial, sans-serif;
            font-weight: bold;
            color: @themeOrange;
            height: 24px;
            line-height: 24px;
          }
          .unit {
            .abs;
            right: 10px;
            bottom: 10px;
            font-size: 12px;
            opacity: 0.6;
            height: 12px;
            line-height: 12px;
          }
          &:hover, &.active {
            background-color: fade(@theme, 80);
            border: 1px solid fade(@color-white, 80);
            color: @color-white;
            .count {
              color: @color-orange;
            }
            .unit {
              opacity: 1;
            }
          }
        }
      }
    }
  }
}

@import "listBlock";
@import "tableBlock";
@import "propertiesBlock";
@import "formItem";
@import "chartBlock";